WatchDog
 
 
 Bean WatchDog
 
WatchDog bean

Typical usage of the bean in user's code.

Typical Usage:

Required bean name is "WDog1".
In the following example, watchdog timer resetting during a cycle, which takes a lot of time:
 MAIN.C

void main(void)
{
  unsigned i;
  for(i=0;i<50000;i++) { /* Long loop */
    WDog1_Clear();       /* Clear watchdog timer */
    :                    /* Other user actions */
    :
  }

}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.